home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / AOCE / Development Tools / Sample Code / Digital Signatures / Digital Signature Demo / Source ƒ / DemoSignedObjectDialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-11  |  865 b   |  40 lines  |  [TEXT/KAHL]

  1. /*
  2.  * DemoSignedObjectDialog.h
  3.  * This illustrates how Digital Signatures may be attached
  4.  * to a random object.
  5.  */
  6. #define _H_DemoSignedObjectDialog
  7. #include <CDLOGDirector.h>
  8. class        CDirectorOwner;
  9. class        DemoSignedObject;
  10. class        CDialog;
  11. class        CButton;
  12.  
  13. struct DemoSignedObjectDialog : CDLOGDirector {
  14. private:
  15.         DemoSignedObject            *itsSignedObject;
  16.         Boolean                        itsSignatureValidFlag;
  17.         short                        signatureIconID;
  18.  
  19. public:
  20.         void                    IDemoSignedObjectDialog(
  21.             CDirectorOwner            *aSupervisor,
  22.             DemoSignedObject        *aSignedObject
  23.         );
  24.         void                    DoCommand(
  25.             long                    aCommand
  26.         );
  27.         Boolean                    EndDialog(
  28.             long                    withCommand,
  29.             Boolean                    fValidate
  30.         );
  31.         void                    AttachCommands(void);
  32.         void                    UpdateButtons(void);
  33.         CButton                    *GetDialogItem(
  34.             short                    dialogID
  35.         );
  36.         void                    GetDialogValues(void);
  37.         void                    SetDialogValues(void);
  38. };
  39.  
  40.